{extend name="common/base" /}

{block name="body"} 
<main class="index_main">
    <div class="index_box">

       <div class="d-flex al-c jc-s">
          <div class="d-flex al-c user_box">
             <div class="user_img">
                <img src="__ROOT__/static/images/user.png">
             </div>
             <span class="t1"> {$role.name} &nbsp;{$user_info.user_name} </span>
          </div>
          <a class="border-btn" href="/logout">退出登录</a>
       </div>
   
       <div class="d-grid index_ul">
          <a href="/plan_today.html" class="item">
             <img class="img1" src="__ROOT__/static/images/index1.png">
             <span class="t1">计划</span>
             <img src="__ROOT__/static/images/more.png" class="more">

          </a> 
          <a href="/record_index.html" class="item">

             <img class="img1" src="__ROOT__/static/images/index2.png">
             <span class="t1">开始记录</span>
             <img src="__ROOT__/static/images/more.png" class="more">
          </a> 
          <!-- {if $role && $role.is_admin == 1} 
            <a href="/chart.html" class="item">
               <img class="img1" src="__ROOT__/static/images/index3.png">
               <span class="t1">统计</span>
               <img src="__ROOT__/static/images/more.png" class="more">
            </a> 
          {/if} -->
          
          <a href="/times.html" class="item">
             <img class="img1" src="__ROOT__/static/images/index4.png">
             <span class="t1">时间线
             </span>
             <img src="__ROOT__/static/images/more.png" class="more">
          </a>
       </div>
    </div>
 </main>
{/block}

